﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Miao.UI
{
    [UILayer(999, Layer.TempLayer)]
    [SourcesPath("Assets/Plugins/miao-framework/UIPrefab/Loading.prefab")]
    public class Loading : UISceneLoadingPanel
    {

        public override IMotion LoadStart()
        {
            HorizontalEntryMotion motion = new HorizontalEntryMotion(4192, 1);
            motion.playEase = DG.Tweening.Ease.Linear;
            return motion;
        }


        public override IMotion LoadComplete()
        {
            HorizontalEntryMotion motion = new HorizontalEntryMotion(-4192, 1);
            motion.backEase = DG.Tweening.Ease.Linear;
            return motion;
        }


    }
}

